<!DOCTYPE html>
<html lang="en">
<head>
    {include file="_public/_head"/}
    <style>body { background: url("/public/images/bg3.png") no-repeat; background-size: 100%; background-attachment: fixed; }</style>
</head>
<body>
{include file="_public/_header"/}
<div style="height: 1.6em"></div>
<div class="am-g am-g-fixed blog-g-fixed">
    <div class="am-u-md-8 am-panel">
        <article class="blog-main">
            <h3 class="am-article-title blog-title">
                <span>{$detail.title}</span>
            </h3>
            <h4 class="am-article-meta blog-meta">
                <a href="/news.html?type={$detail.type}">{$detail.type_name}</a>
                原标题《{$detail.title_source}》
                <a href="{$detail.url}" target="_blank">查看原文</a>
            </h4>
            <div class="am-g blog-content">
                <div class="am-u-lg-12">
                    <article>{$detail.content}</article>
                </div>
            </div>
        </article>
        <hr style="margin:0;">
        <ul class="am-pagination blog-pagination">
            {if condition="empty($detail['pre_id'])"}
            <li class="am-pagination-prev"><span>&laquo; 上一页</span></li>
            {else /}
            <li class="am-pagination-prev"><a href="/news/{$detail.pre_id}.html">&laquo; 上一页</a></li>
            {/if}
            {if condition="empty($detail['next_id'])"}
            <li class="am-pagination-next"><span>下一页 &raquo;</span></li>
            {else /}
            <li class="am-pagination-next"><a href="/news/{$detail.next_id}.html">下一页 &raquo;</a></li>
            {/if}
        </ul>
    </div>
    {include file="_public/_sidebar"/}
</div>
{include file="_public/_footer"/}
</body>
</html>